Learn R Programming

bmmix (version 0.1-2)

Process bmmix outputs: Extract results and make graphics from bmmix outputs

Description

This function and model are under development. Do not use them, contact the author if interested.

Usage

process.bmmix(x, what="post", burnin=1e4, ggplot=TRUE)

Arguments

x
a data.frame output by bmmix.
what
a character string indicating which result is seeked, matched against the names of the columns of x.
burnin
an integer indicating the burnin, i.e. the number of MCMC iterations to be discarded.
ggplot
a logical indicating whether graphics using ggplot2 should be returned.

Value

A list containing processed results, and optionally ggplot graphics.